const usersDao = require("../dao/usersDao.js")

const get = async function (parameter) {
    return await usersDao.get(parameter)
}

const update = async function (_id, parameter) {
    return await usersDao.update(_id, parameter)
}

const del = async function (_id) {
    return await usersDao.del(_id)
}
const add = async function (parameter) {
    return await usersDao.add(parameter)
}
const search = async function ( parameter) {
    return await usersDao.search( parameter)
}
module.exports = {get,update,del,add,search}